package com.example.designpatterns.strategy;

/**
 * 实现类1
 */
public class DiscountsStrategy1 implements Strategy1{
    @Override
    public int discounts(int money) {
        return (int) (money*0.9);
    }
}
